<!--判断success闪存是否存在-->
@if(session()->has('success'))
<div class="msg">
    {{ session('success') }}
</div>
@endif